import "./HomeHotSearch.scss";
import React, { Component } from "react";
import PropTypes from "prop-types";
export default class HomeHotSearch extends Component {
    static propTypes = {
        hotSearches: PropTypes.array,
    };
    constructor() {
        super();
    }
    render() {
        const { hotSearches } = this.props;
        return (
            <div className="hotSearch-wrap">
                {hotSearches.map(item => (
                    <div key={item._id} className="hotSearchesItem">
                        {item.keyword}
                    </div>
                ))}
            </div>
        );
    }
}
